<template>
  <div class="box">
    <div class="contain" :style="{background,width}">
      <div class="contain-left">
        <slot name="left" />
      </div>
      <div class="contain-right">
        <slot name="right" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Blockage',
  props: {
    background: {
      type: String,
      default: ''
    },
    width: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>
   .contain{
    display: flex;
    align-items: center;
    justify-content: space-between;
    // width: 280px;
    height: 120px;
    padding: 0 20px;
    &-left{
      &-num{
        font-size: 28px;
        font-weight: 700;
        color: #fff;
      }
      &-people{
        font-size: 14px;
        font-weight: normal;
        color: #fff;
        margin-top: 10px;
      }
    }
    &-right{
      width: 50px;
      height: 50px;
      img{
        width:100%;
        height: 100%;
      }
    }
  }
</style>
